export type SystemUserQuery = {
  page: number
  limit: number
  userName?: string
  mobile?: string
  userStatus?: string
  realName?: string
}

export type SystemUser = {
  userId?: number
  userName?: string
  loginPwd?: string
  confirmLoginPwd?: string
  orgId?: number
  dataPermissionRange?: string
  mobile?: string
  userStatus?: string
  email?: string
  realName?: string
  headSculpture?: string
  gender?: string
  birthday?: string
  lastLoginTime?: string
  introduction?: string
  loginIp?: string
  loginAddress?: string
  createUserId?: number
  createTime?: string
  operateId?: number
  operateTime?: string
}

export type SystemUserStatusUpdate = {
  userIds: []
  userStatus: string
}

export type UpdatePassword = {
  oldLoginPwd: string
  newLoginPwd: string
  confirmLoginPwd?: string
}

export type CustomColor = {
  color: string
  percentage: number
}

export type PasswordStrength = {
  percentage: number
  customColors: CustomColor[]
}

export type Strength = {
  oneStrength: PasswordStrength
  twoStrength: PasswordStrength
  threeStrength: PasswordStrength
  contentColor: string
  content: string
}

export type UnlockScreen = {
  password: string
}
